﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Web;

namespace Abrs.Services.Rest
{
    [ServiceContract]
    public interface IUploadFileService
    {
        [OperationContract]
        [WebInvoke(Method = "POST", UriTemplate = "FileUpload/{fileName}")]
        void FileUpload(string fileName, Stream fileStream);

        [OperationContract]
        [WebInvoke(Method = "GET", UriTemplate = "FileUpload/{fileName}")]
        string FileUpload2(string fileName);
    }
}